import svgicon from './svgIcon/index.vue'
// console.log("svgicon",svgicon);
// import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const components = [svgicon] // 组件列表
export default {
  install(app: any) {
    // 遍历注册组件
    Object.keys(components).forEach((key: any) => {
      // 注册组件
      app.component(key, components[key])
    })
    // 遍历注册element-plus图标
    // for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    //   app.component(key, component)
    // }
  },
}
